class ProjectModel {
  String? id;
  String? name;
  String? code;
  bool? state;
  String? address;
  String? photo;
  bool? isSelect = false;

  ProjectModel(
      {this.id, this.name, this.code, this.state, this.address, this.photo, this.isSelect});

  ProjectModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    code = json['code'];
    state = json['state'];
    address = json['address'];
    photo = json['photo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['name'] = this.name;
    data['code'] = this.code;
    data['state'] = this.state;
    data['address'] = this.address;
    data['photo'] = this.photo;
    return data;
  }
}